<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>爱帮诊平台</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, user-scalable=yes,target-densitydpi=device-dpi">
    <meta name="renderer" content="webkit">
    <!-- Add to homescreen for Chrome on Android -->
    <meta name="mobile-web-app-capable" content="yes">
    <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">

    <!-- Add to homescreen for Safari on iOS -->
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <link rel="icon" type="image/png" href="/Public/assets/i/46.png">
    <link rel="apple-touch-icon-precomposed" href="/Public/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
    <link rel="stylesheet" href="/Public/assets/css/amazeui.min.css"/>
    <link rel="stylesheet" href="/Public/assets/css/admin.css">
</head>
<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->

<header class="am-topbar admin-header">
    <div class="am-topbar-brand" style="margin-left: 20px;">
        <strong>爱</strong>
        <small>帮诊平台</small>
    </div>
    <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
        <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
            <li class="am-dropdown" data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                    <span class="am-icon-user"></span> <?php echo (session('user')); ?> <span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
                    <li><a href="#"><span class="am-icon-cog"></span> 设置</a></li>
                    <li><a href="<?php echo U('User/loginOut');?>"><span class="am-icon-power-off"></span> 退出</a></li>
                </ul>
            </li>
        </ul>
    </div>
</header>

<div class="am-cf admin-main">
    <div class="admin-sidebar">
    <ul class="am-list admin-sidebar-list" id="caidan">
        <li><a href="#"><span class="am-icon-home"></span>首页</a></li>

        <li class="admin-parent">
            <a class="am-cf" data-am-collapse="{target: '#collapse-nav7'}"><span
                    class="am-icon-pencil-square-o"></span>前台管理<span
                    class="am-icon-angle-right am-fr am-margin-right"></span></a>
            <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav7">
            <li><a href="<?php echo U('Front/linkList');?>" class="am-cf">链接配置</a></li>
            <li><a href="<?php echo U('Front/docterList');?>">医生配置</a></li>
            <li><a href="<?php echo U('Front/hosList');?>">医院配置</a></li>
            </ul>
        </li>

        <li class="admin-parent">
            <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-cart-plus"></span> 订单管理<span
                    class="am-icon-angle-right am-fr am-margin-right"></span></a>
            <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
                <!--<?php if((session('role') == 0) OR (session('role') == 5)): ?>-->
                <li><a href="<?php echo U('Order/orderList');?>" data-am-popover="{content:'预约单',trigger:'hover focus'}">已预约</a></li>
                <!--<?php endif; ?>-->
                <!--<?php if(session('role') == 0 OR (session('role') == 2)): ?>-->
                <!--<li><a href="<?php echo U('Order/orderList3');?>" data-am-popover="{content:'预约单',trigger:'hover focus'}">已派单</a></li>-->
                <!--<?php endif; ?>-->
                <!--<?php if(session('role') == 4): ?>-->
                <!--<li><a href="<?php echo U('Order/orderList4');?>" >已量衣</a></li>-->
                    <!--<?php else: ?>-->
                    <!--&lt;!&ndash;多工厂&ndash;&gt;-->
                    <!--<li><a data-am-collapse="{target: '#collapse-gc'}"><span class="am-icon-hand-o-right"></span>已量衣</a></li>-->
                    <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-gc">-->
                    <!--<li><a href="<?php echo U('Order/orderList2');?>" data-am-popover="{content:'新订单',trigger:'hover focus'}">待分配</a></li>-->
                    <!--<li><a href="<?php echo U('Order/orderList2_1');?>" data-am-popover="{content:'新订单',trigger:'hover focus'}">已分配</a></li>-->
                        <!--</ul>-->
                <!--<?php endif; ?>-->
               <!--已完成子菜单-->
                    <!--<li><a data-am-collapse="{target: '#collapse-end'}"><span class="am-icon-hand-o-right"></span>已完成</a></li>-->
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-end">-->
                    <!--<?php if(session('role') == 4): ?>-->
                        <!--<li><a href="<?php echo U('Order/endList_gc');?>">完工单</a></li>-->
                        <!--<?php else: ?><li><a href="<?php echo U('Order/endList');?>">工厂完工单</a></li>-->
                    <!--<?php endif; ?>-->
                <!--<?php if(session('role') != 4): ?>-->
                    <!--<li><a href="<?php echo U('Order/psList');?>" data-am-popover="{content:'订单状态为待配送',trigger:'hover focus'}">待配送</a></li>-->
                <!--<?php endif; ?>-->
                <!--<?php if(session('role') != 4): ?>-->
                    <!--<li><a href="<?php echo U('Order/ps_endList');?>" data-am-popover="{content:'订单状态为已配送',trigger:'hover focus'}">已配送</a></li>-->
                <!--<?php endif; ?>-->
                <!--<?php if(session('role') == 4): ?>-->
                    <!--<li><a href="<?php echo U('Order/returnList_gc');?>">返工单</a></li>-->
                    <!--<?php else: ?><li><a href="<?php echo U('Order/returnList');?>" data-am-popover="{content:'订单状态为返工单',trigger:'hover focus'}">返工单</a></li>-->
                <!--<?php endif; ?>-->
                    <!--</ul>-->
            </ul>
        </li>
<!--<?php if(session('role') == 0 OR (session('role') == 5) OR (session('role') == 2)): ?>-->
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav3'}"><span class="am-icon-user-plus"></span>
                    用户管理<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav3">-->
                    <!--<li><a href="<?php echo U('User/userList');?>" class="am-cf">客户列表</a></li>-->
                    <!--<?php if(session('role') == 0): ?>-->
                    <!--<li><a href="<?php echo U('User/userList2');?>">员工列表</a></li>-->
                    <!--<?php endif; ?>-->
                <!--</ul>-->
            </li>
<!--<?php endif; ?>-->
        <!--<?php if(session('role') == 0): ?>-->
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav2'}"><span
                        class="am-icon-pencil-square-o"></span>权限管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav2">-->
                    <!--<li><a href="<?php echo U('User/create');?>" class="am-cf">创建账号</a></li>-->
                    <!--<li><a href="<?php echo U('Basic/perAllot');?>">权限分配</a></li>-->
                <!--</ul>-->
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav4'}"><span
                        class="am-icon-sort-alpha-asc"></span>参数管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav4">-->
                    <!--<li><a href="<?php echo U('Basic/colorList');?>" class="am-cf">面料管理</a></li>-->
                <!--</ul>-->
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav5'}"><span
                        class="am-icon-money"></span>财务管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav5">-->
                    <!--<li><a href="<?php echo U('Finance/gcPayList');?>" class="am-cf">工厂</a></li>-->
                    <!--<li><a href="<?php echo U('Finance/ltPayList');?>" class="am-cf">量体</a></li>-->
                    <!--<li><a href="<?php echo U('Finance/collectionList');?>" class="am-cf">收款</a></li>-->
                    <!--<li><a href="#" class="am-cf">销售</a></li>-->
                <!--</ul>-->
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav6'}"><span
                        class="am-icon-bar-chart"></span>统计管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav6">-->
                    <!--<li><a href="<?php echo U('Count/returnList');?>" class="am-cf">返工记录</a></li>-->
                <!--</ul>-->
            </li>
        <!--<?php endif; ?>-->
    </ul>
</div>
    <!-- content start -->
    <div class="admin-content">
        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">编辑配置</strong>
            </div>
        </div>
        <div class="am-tabs am-margin" data-am-tabs>
            <!--头部选择项-->
            <ul class="am-tabs-nav am-nav am-nav-tabs">
                <li class="am-active"><a href="#tab1">编辑配置</a></li>
            </ul>
            <div class="am-tabs-bd">
                <div class="am-tab-panel am-fade am-in am-active" id="tab1">
                    <form class="am-form" enctype="multipart/form-data" name="form2" id="form2" action="/index.php/Admin/Front/editLink" method="post">
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-2 am-text-right">
                                图片
                            </div>
                            <div class="am-u-sm-4 am-u-end">
                                <input type="file" class="am-input-sm" id="pic" name="pic"/>
                                <p class="am-form-help">请选择要上传的图片...</p>
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-2 am-text-right">
                                链接
                            </div>
                            <div class="am-u-sm-4 am-u-end">
                                <input type="text" class="am-input-sm" id="link" name="link" value="<?php echo ($da["link"]); ?>">
                            </div>
                        </div>
                        <div class="am-g am-margin-top">
                            <div class="am-u-sm-2 am-text-right">
                                文字
                            </div>
                            <div class="am-u-sm-4 am-u-end">
                                <input type="text" class="am-input-sm" id="word" name="word" value="<?php echo ($da["word"]); ?>">
                            </div>
                        </div>

                        <input type="hidden" id="type" name="type" value="<?php echo ($da["type"]); ?>">
                        <input type="hidden"  name="id" value="<?php echo ($da["id"]); ?>">
                        <div class="am-g am-margin">
                            <input type="submit" id="add" value="提交" class="am-btn am-btn-primary am-btn-sm am-fl">
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <!-- content end -->

</div>
<script src="/Public/assets/js/jquery.min.js"></script>
<script>



</script>
<!--[if lt IE 9]>
<script src="/Public/assets/js/jquery1.11.1.min.js"></script>
<script src="/Public/assets/js/modernizr.js"></script>
<script src="/Public/assets/js/polyfill/rem.min.js"></script>
<script src="/Public/assets/js/polyfill/respond.min.js"></script>
<script src="/Public/assets/js/amazeui.legacy.js"></script>
<![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="/Public/assets/js/jquery.min.js"></script>
<script src="/Public/assets/js/amazeui.min.js"></script>
<!--<![endif]-->
<script src="/Public/assets/js/app.js"></script>
<script src="/Public/laydate/laydate.js"></script>
</body>
</html>